/**
 * 
 */
package com.perseygroup.apps;

import java.io.InputStream;

import android.os.Bundle;
import android.webkit.WebView;

/**
 * @author xkiller
 *
 */
public class AproposActivity extends GeneralActivity {

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	
	    setContentView(R.layout.apropos);
	    InputStream iFile = getResources().openRawResource(R.raw.apropos);
	    try {
	    	String strFile = inputStreamToString(iFile);
	    	
	    	final String mimeType = "text/html";
	        final String encoding = "utf-8";
	        WebView objetview;
	        objetview= (WebView) findViewById(R.id.apropos);
	        objetview.loadData(strFile, mimeType, encoding);
	        
	    } catch (Exception e) {
	        //Log.e(DEBUG_TAG, "InputStreamToString failure", e);
	    }
	}
	
    public void onBackPressed()
	{
		finish();
	}

}
